﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace Quản_Lý_Thư_Viện
{
    class DocgiaControl
    {
        private DocgiaDataAccess data = new DocgiaDataAccess();

        public void insert(DocgiaInfo info)
        {
            data.insert(info);
        }

        public void delete(DocgiaInfo info)
        {
            data.delete(info);
        }
        public DataTable timdocgia()
        {
            return data.timdocgia();
        }
        public void update(DocgiaInfo info)
        {
            data.update(info);
        }
        public DataTable LayDSdocgia()
        {
            return data.LayDSdocgia();
        }
        public DataTable chomuonsach(DocgiaInfo info)
        {
            return data.chomuonsach(info);
        }
        public DataTable laymataikhoan()
        {
            return data.Laymataikhoan();
        }
        public DataTable Laysotienno()
        {
            return data.Laysotienno();
        }
        public void updatestn()
        {
            data.updatestn();
        }
        public void giahanthe()
        {
            data.ghthe();
        }
        public DataTable timsachpms()
        {
            return data.timsachmp();
        }
        public DataTable timsach()
        {
            return data.timsach();
        }
        public DataTable timdg()
        {
            return data.timdg();
        }
        public DataTable Laystnptt()
        {
            return data.Laystnptt();
        }
        public void updatetrangthai()
        {
            data.updatetrangthai();
        }
        public void updatetrangthaikvp()
        {
            data.updatetrangthaikvp();
        }
    }
}
